package com.ltmall.api.constant;

import com.ltmall.api.comm.Path;

import java.io.File;

/**
 * 通用常量类
 *
 * @author dou.guo
 * @date : 2019/1/27 14:41:00
 */
public class FrontConstants {

    /**
     * 分割符
     */
    public static final String SPLIT = ",";

    /**
     * 成功返回时code
     */
    public static final int SUCC_CODE = 1;

    /**
     * 失败返回时code
     */
    public static final int FAIL_CODE = 0;

    /**
     * 成功返回时message
     */
    public static final String SUCC_MESSAGE = "SUCCESS";

    /**
     * 失败返回时message
     */
    public static final String FAIL_MESSAGE = "FAIL";

    public static final String GROUP_BANNER_PATH = Path.nginxServerBusinessDir
            + Path.GROUP + File.separator
            + Path.GROUP_BANNER + File.separator;
    public static final String GROUP_DIRECT_SUPPLY_PATH = Path.nginxServerBusinessDir
            + Path.GROUP + File.separator
            + Path.GROUP_DIRECT_SUPPLY
            + File.separator;
    public static final String GROUP_PERSONAL_SETTING_PATH = Path.nginxServerBusinessDir
            + Path.GROUP + File.separator
            + Path.GROUP_PERSONAL_SETTING
            + File.separator;

}
